Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beds 128/add formatting #680

Merged
merged 4 commits into from
Aug 8, 2024
Merged

Beds 128/add formatting #680

merged 4 commits into from
Aug 8, 2024

Conversation

marcel-bitfly
Copy link
Contributor

  • add eslint stylistic rules
  • add max-len

MarcelBitfly added 2 commits August 7, 2024 15:46
Copy link

cloudflare-workers-and-pages bot commented Aug 7, 2024

Deploying beaconchain with  Cloudflare Pages  Cloudflare Pages

Latest commit: ccb1398
Status: ✅  Deploy successful!
Preview URL: https://42347b40.beaconchain.pages.dev
Branch Preview URL: https://beds-128-add-formatting.beaconchain.pages.dev

View logs

@marcel-bitfly marcel-bitfly force-pushed the BEDS-128/add-formatting branch from 9ce1cdc to 58a805f Compare August 8, 2024 05:58
</script>

<template>
<div class="text">
{{ props?.description || $t('premium.description') }}
{{ props?.description || $t("premium.description") }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having single quotes in the main script part and double quotes in the inline script seems a bit inconsistent?
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be enforced...is not atm:

https://eslint.vuejs.org/rules/html-quotes.html

have a special look at avoid escape and tell me if I should

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this might got introduced due to prettier formatting I used to get rid of most of the max-len issues

@marcel-bitfly marcel-bitfly force-pushed the BEDS-128/add-formatting branch 4 times, most recently from 2fd0ce1 to 50de659 Compare August 8, 2024 06:51
frontend/types/api/block.ts Outdated Show resolved Hide resolved
frontend/types/user.ts Show resolved Hide resolved
@marcel-bitfly marcel-bitfly force-pushed the BEDS-128/add-formatting branch 2 times, most recently from a476983 to ee6a8e6 Compare August 8, 2024 08:22
@marcel-bitfly marcel-bitfly force-pushed the BEDS-128/add-formatting branch from ee6a8e6 to 2f63bdc Compare August 8, 2024 08:38
⚠️ the files where autofixed by `prettier` formatting.
In order to get rid of most of the `max-len` errors.
That is why there are changes included that have nothing todo
with `max-len`, but also do not collide with the current `eslint stylisit set`.

See: BIDS-128
@marcel-bitfly marcel-bitfly force-pushed the BEDS-128/add-formatting branch from 2f63bdc to ccb1398 Compare August 8, 2024 09:00
@marcel-bitfly marcel-bitfly merged commit 28ab088 into staging Aug 8, 2024
2 checks passed
@marcel-bitfly marcel-bitfly deleted the BEDS-128/add-formatting branch August 8, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants